<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/reset.css">
    <style>
        .top_wrapper {
            height: 70px;
            width: 100%;
            background: #242424;
        }
        .top_wrapper .top_middle{
            display: flex;
            justify-content: space-between;
            width: 1150px;
            height: 69px;
            /*background-color: #9a3a3a;*/
            margin: 0 auto;
        }

        .top_wrapper .top_middle .top_middle_left{
            display: flex;

        }

        .top_wrapper .top_middle .top_middle_left .list{

            line-height: 69px;
            display: flex;
        }

        .top_wrapper .top_middle .top_middle_left .list .item{
            position: relative;
            display: block;
            padding: 0 20px;
            color: #ccc;
            font-size: 14px;
        }

        .top_wrapper .top_middle .top_middle_left .list li{
            position: relative;
        }

        .top_wrapper .top_middle .top_middle_left .list .item.activate{
            background-color: #000;
            color: #fff;
        }

        .top_wrapper .top_middle .top_middle_left .list .item:hover{
            background-color: #000;
            color: #fff;
        }

        /*.top_wrapper .top_middle .top_middle_left .list .item.activate::after{*/
        /*    content: "";*/
        /*    position: absolute;*/
        /*    width: 12px;*/
        /*    height: 7px;*/
        /*    bottom: 0;*/
        /*    left: 0;*/
        /*    right: 0;*/
        /*    margin: 0 auto;*/
        /*    background: url(./images/topbar.png) -226px 0;*/
        /*}*/

        .top_wrapper .top_middle .top_middle_left .list .icon{
            position: absolute;
            width: 12px;
            height: 7px;
            bottom: 1px;
            left: 0;
            right: 0;
            margin: 0 auto;
            background: url(./images/topbar.png) -226px 0;
        }

        .top_wrapper .logo {
            width: 176px;
            height: 69px;
            background-image: url(./images/topbar.png);
            background-position: 0 0;
        }

        .top_wrapper .top_middle .top_middle_right{
            display: flex;
            align-items: center;
            line-height: 69px;
            padding-right: 20px;
        }


        .top_wrapper .top_middle .top_middle_right .login a{
            color:#787878;
            font-size: 12px;
        }

        .top_wrapper .top_middle .top_middle_right .login:hover a{
            color:#ccc;
        }

        .top_wrapper .top_middle .top_middle_right .login a:hover{
            color:#787878;
            text-decoration: underline;
        }


        .top_wrapper .top_middle .top_middle_right .author a{
            display: inline-block;
            color:#ccc;
            font-size: 12px;
            line-height: 32px;
            text-align: center;
            margin: 0 20px;
            width: 90px;
            height: 32px;
            box-sizing: border-box;
            border: 1px solid #ccc;
            border-radius: 20px;
        }

        .top_wrapper .top_middle .top_middle_right .author a:hover{
            color: #fff;
            border: 1px solid #fff;
        }
        .top_wrapper .top_middle .top_middle_right .search{
            display: flex;
            align-items: center;
            justify-content: flex-end;
            width: 170px;
            height: 32px;
            padding-right: 20px;
            box-sizing: border-box;
            /*line-height: 32px;*/
            border-radius: 30px;
            background: #fff url("./images/topbar.png") 0 -99px;
        }

        .top_wrapper .top_middle .top_middle_right .search input{
            width:120px;
            /*margin-right: 20px;*/


        }





    </style>
</head>
<body>
<div class="top_wrapper">
    <div class="top_middle">
        <div class="top_middle_left">
            <h1 class="logo">
                <a href=""></a>
            </h1>
            <ul class="list">
                <li>
                    <a href="#" class="item activate"> 发现音乐</a>
                    <i class="icon"></i>
                </li>
                <li> <a href="#" class="item"> 我的音乐</a></li>
                <li> <a href="#" class="item"> 关注</a></li>
                <li> <a href="#" class="item"> 商城</a></li>
                <li> <a href="#" class="item"> 音乐人</a></li>
                <li> <a href="#" class="item"> 云推歌</a></li>
                <li> <a href="#" class="item"> 下载客户端</a></li>
            </ul>
        </div>
        <div class="top_middle_right">
            <div class="search"><input type="text" placeholder="音乐/视频/电台/用户"/></div>
            <div class="author"><a href="">创作者中心</a></div>
            <div class="login"><a href="">登录</a></div>
        </div>

    </div>
</div>

</body>
</html>